import request from '../../util/request'


export default {

    getUserZanArticles(){
        return request({
            url: `zan/article`
        })
    },

    getUserZanComment(){
        return request({
            url: `zan/comment`
        })
    },

    dianzanArticle(articleId) {
        return request({
            url: `zan/dianzan/article/${articleId}`
        })
    },

    unDianzanArticle(articleId) {
        return request({
            url: `zan/unDianzan/article/${articleId}`
        })
    },

    dianzanComment(commentId){
        return request({
            url: `zan/dianzan/comment/${commentId}`
        })
    },

    unDianzanComment(commentId){
        return request({
            url: `zan/unDianzan/comment/${commentId}`
        })
    },

    dianzanReply(replyId){
        return request({
            url: `zan/dianzan/reply/${replyId}`
        })
    },

    unDianzanReply(replyId){
        return request({
            url: `zan/unDianzan/reply/${replyId}`
        })
    },

}
